package com.ybwh.springboot2.listener.event;

import org.activiti.engine.delegate.event.ActivitiEvent;
import org.activiti.engine.delegate.event.ActivitiEventListener;

public class MyEventListener implements ActivitiEventListener {

    public void onEvent(ActivitiEvent event) {
        System.out.println("eventName:" + event.getType().name());
    }

    public boolean isFailOnException() {
        return false;
    }
}